package com.baselibrary.test.MVP.Main7Activity;

import java.util.List;

/**
 * Created by 35876 于萌萌
 * 创建日期: 21:48 . 2017年02月26日
 * 描述:
 * <p>
 * <p>
 * 备注:
 */

public class chengshibean {


    /**
     * address : {"street":"科技园路.","country":"中国","city":"江苏苏州"}
     * isNonProfit : true
     * url : http://www.bejson.com
     * links : [{"url":"http://www.google.com","name":"Google"},{"url":"http://www.baidu.com","name":"Baidu"},{"url":"http://www.SoSo.com","name":"SoSo"}]
     * name : BeJson
     * page : 88
     */

    public AddressBean address;
    public boolean isNonProfit;
    public String url;
    public String name;
    public int page;
    public List<LinksBean> links;

    @Override
    public String toString() {
        return "chengshibean{" +
                "address=" + address +
                ", isNonProfit=" + isNonProfit +
                ", url='" + url + '\'' +
                ", name='" + name + '\'' +
                ", page=" + page +
                ", links=" + links +
                '}';
    }

    public static class AddressBean {
        /**
         * street : 科技园路.
         * country : 中国
         * city : 江苏苏州
         */

        public String street;
        public String country;
        public String city;

        @Override
        public String toString() {
            return "AddressBean{" +
                    "street='" + street + '\'' +
                    ", country='" + country + '\'' +
                    ", city='" + city + '\'' +
                    '}';
        }
    }

    public static class LinksBean {
        /**
         * url : http://www.google.com
         * name : Google
         */

        public String url;
        public String name;


        @Override
        public String toString() {
            return "LinksBean{" +
                    "url='" + url + '\'' +
                    ", name='" + name + '\'' +
                    '}';
        }
    }


//    {
//        "address": {
//        "street": "科技园路.",
//                "country": "中国",
//                "city": "江苏苏州"
//    },
//        "isNonProfit": true,
//            "url": "http://www.bejson.com",
//            "links": [
//        {
//            "url": "http://www.google.com",
//                "name": "Google"
//        },
//        {
//            "url": "http://www.baidu.com",
//                "name": "Baidu"
//        },
//        {
//            "url": "http://www.SoSo.com",
//                "name": "SoSo"
//        }
//        ],
//        "name": "BeJson",
//            "page": 88
//    }
}
